package com.ruoyi.business.domain.fission;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_wecom_chat_group_fission_reward_setting")
@ApiModel("群裂变奖励设置")
public class TbWecomChatGroupFissionRewardSetting extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 群裂变活动id
     */
    @ApiModelProperty(value = "群裂变活动id")
    private Long fissionId;

    /**
     * 阶段名称
     */
    @ApiModelProperty(value = "阶段名称")
    private String notifyRuleName;

    /**
     * 奖励名称
     */
    @ApiModelProperty(value = "奖励名称")
    private String rewardName;

    /**
     * 奖励描述
     */
    @ApiModelProperty(value = "奖励描述")
    private String rewardDesc;

    /**
     * 奖励图片
     */
    @ApiModelProperty(value = "奖励图片")
    private String rewardPic;

    /**
     * 阶段阈值
     */
    @ApiModelProperty(value = "阶段阈值")
    private Integer notifyRule;

    /**
     * 奖励类型 1 产品 2 积分
     */
    @ApiModelProperty(value = "奖励类型 1 产品 2 积分")
    private Integer rewardType;

    /**
     * 奖励积分数量
     */
    @ApiModelProperty(value = "奖励积分数量")
    private Integer rewardPoints;

    /**
     * 奖励奖品数量
     */
    @ApiModelProperty(value = "奖励奖品数量")
    private Integer rewardProducts;

    /**
     * 限量大小
     */
    @ApiModelProperty(value = "限量大小")
    private Integer rewardCount;

    /**
     * 0不限量1限量
     */
    @ApiModelProperty(value = "0不限量1限量")
    private Integer rewardCountEnable;

}
